export function axios({url,method,data}) {
	return new Promise((resolve,reject) => {
		uni.request({
			url:  url,
			method: method,
			header: {
				'Content-Type':'application/x-www-form-urlencoded'
			},
			data:data,
			success(res) {
				resolve(res)
			},
			fail(err) {
				reject(err)
			}
		})
	})
}